package cn.zhizihua.mapper;

import cn.zhizihua.query.BaseQuery;

import java.sql.SQLException;
import java.util.List;

/**
 * 分页查询
 * @param <T>
 */
public interface PageMapper<T> {
    int getCount(BaseQuery baseQuery) ;
    List<T> getByPage(BaseQuery baseQuery) ;
}
